package com.yangkunhong.www.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

//自动生成get、set lombok
@Data
//创建无参构造  lombok
@NoArgsConstructor
//创建全参构造  lombok
@AllArgsConstructor
//生成Builder类，支持链式操作  lombok
@Builder
public class IllnessKind {
    /**
     * 主键ID
     * 需要设置为自增
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String info;

    private Date createTime;

    private Date updateTime;
}
